package com.talkweb.platform.commonapi.constants;

public class Constants {
	public final static int RESULT_STATUS_SUCCESS = 0;// 成功
	public final static int RESULT_STATUS_ERROR = 1;// 失败，错误

	/**
	 * 中文环境
	 */
	public final static String LANGUAGE_ZH_CN = "zh_CN";

	/**
	 * 英文环境
	 */
	public final static String LANGUAGE_EN_US = "en_US";

	// 微服务工程，feign调用根据此名称调用
	public final static String SERVICE_NAME = "user-service";

	public final static String HTTP_HEAD_USER_ID = "userId";
	
	public final static String HTTP_HEAD_CLIENT_ID= "clientId";

	/**
	 * 初始化默认密码
	 */
	public final static String EDU_DEFAULT_PASSWORD = "123456";
	
	/**************用户状态  begin ***************/
	/**
	 * 正常
	 */
	public final static Integer USER_STATUS_NORMAL =  1;
	
	/**
	 * 禁用
	 */
	public final static Integer USER_STATUS_FORBIN =  2;
	
	/**
	 * 删除
	 */
	public final static Integer USER_STATUS_DEL =  0;
	
	/**************用户状态  end ***************/
	
	///////////////////////////////////////对象类型///////////////////////////////////////
	/** 教育局或教育局机构 **/
	public final static String OBJECT_TYPE_EDU = "11";
	/** 学校 **/
	public final static String OBJECT_TYPE_SCHOOL = "12";
	/** 学校机构 **/
	public final static String OBJECT_TYPE_SCHOOLORG = "13";	
	/** 班级 **/
	public final static String OBJECT_TYPE_CLASS = "14";	
	/** 用户 **/
	public final static String OBJECT_TYPE_USER = "21";	
	/** 局教人员 **/
	public final static String OBJECT_TYPE_EDU_PERSON = "31";	
	/** 老师 **/
	public final static String OBJECT_TYPE_TEACHER = "32";	
	/** 家长 **/
	public final static String OBJECT_TYPE_PARENT = "33";	
	/** 学生 **/
	public final static String OBJECT_TYPE_STUDENT = "34";
	
	///////////////////////////////////////操作类型///////////////////////////////////////
	/** 新增 **/
	public final static int OPERATION_TYPE_ADD = 1;	
	/** 修改 **/
	public final static int OPERATION_TYPE_UPDATE = 2;	
	/** 删除 **/
	public final static int OPERATION_TYPE_DELETE = 3;	
	
	///////////////////////////////////////账号状态///////////////////////////////////////
	/** 正常 **/
	public final static int ACCOUNT_STATUS_NORMAL =  1;
//	
//	/** 禁用 **/
//	public final static int ACCOUNT_STATUS_FORBIN =  2;
	/** 调出 **/
	public final static int ACCOUNT_STATUS_ROLL_OUT =  3;	
	/** 删除 **/
	public final static int ACCOUNT_STATUS_DEL =  0;
	///////////////////////////////////////相关默认值///////////////////////////////////////
	//顶级节点
	public static final String TOPNODE  = "root";
	
	//S001后台开发者
	public static final String DEVELOPERAPP  = "S001";
	
	//公共应用
	public static final String PUBLICAPP  = "S029";
	
	//超级管理员
	public static final String SUPERADMIN  = "RS002";
	
	//_AppMgr后缀
	public static final String APPMGRSUFFIX  = "_AppMgr";
	
	//_CompMgr后缀
	public static final String COMPMGRSUFFIX  = "_CompMgr";
	
	//默认FolderID
	public static final String DEFAULTID  = "-100";
	
	//word正文
	public static final String WORDZHENGWEN  = "WordZhengWen";
	
	//默认文件大小限制
	public static final long FILEMAXSIZE  = 10240 * 10240;
	///////////////////////////////////////相关默认值///////////////////////////////////////
	
}
